//
//  CustomTextField.m
//  IconRecognition
//
//  Created by star j on 16/1/12.
//  Copyright © 2016年 star j. All rights reserved.
//

#import "CustomTextField.h"

@implementation CustomTextField

- (CGRect)textRectForBounds:(CGRect)bounds
{
    CGRect inset = CGRectMake(bounds.origin.x+40, bounds.origin.y, bounds.size.width -40, bounds.size.height) ;
    return inset ;
}

- (CGRect)editingRectForBounds:(CGRect)bounds
{
    CGRect inset = CGRectMake(bounds.origin.x+40, bounds.origin.y, bounds.size.width -40, bounds.size.height) ;
    return inset ;
}

@end
